package com.cjhstudy.mall.service;

import com.cjhstudy.mall.pojo.User;
import com.cjhstudy.mall.vo.ResponseVo;

/**
 * @author: phil
 * @ProjectName: mall
 * @Date: 2021/12/8
 */
public interface IUserService {

    /**
     * 注册
     */
    ResponseVo<User> register(User user);

    /**
     * 登录
     */
    ResponseVo<User> login(String username,String password);
}
